package com.maochang.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.maochang.pojo.*;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * 消缺主任务表
 */
public interface XiaoQueRenWuZhiXingService extends IService<PsSolvetaskMain> {

    Page<PsSolvetaskMain> ChaXjZhiXing(PsSolvetaskMain ps, String kai, String jie, int page, int size, HttpSession  session);

    /*消缺工作单据下拉查询*/
    List<PsSystemconfig> ChaGongDan();
    /*根据任务编号差住表的id    没用*/
    PsInspectiontaskMain ChaZiTask(String solveTaskCode);
    /*拿到主表id后根据id差子表的taskid   没用*/
    List<PsInspectiontaskDetail> ChaZiTaskId(Integer id);
    /*执行死值修改*/
    boolean ZhiSiZhiXiu(PsSolvetaskMain id);
    /*根据主表id差讯数据*/
    List<PsSolvetaskDetail> ChaQueZiShu(Integer id);
    /*根据主表的inspectionTaskDelId查询巡检子表数据*/
    List<PsInspectiontaskDetail> ChaXunZi(Integer[] inspectionTaskDelId);
    /*修改主表*/
    boolean XiuGaiZhu(PsSolvetaskMain psSolvetaskMain);
    /*时间死值修改*/
    boolean ShiJianSiZhiXiu(PsSolvetaskMain id);

    /*回执死值修改*/
    boolean SiZhiXiu(PsSolvetaskMain id);
    /*任务状态下拉框*/
    List<PsSystemconfig> ChaRenWuZhuang();
}
